package com.hncc.sms.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 新增排版规则对象 sms_skd_rule_item
 * 
 * @author ruoyi
 * @date 2020-08-17
 */
@ApiModel(value = "新增排版规则实体")
public class SmsSkdRuleItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id",required = false)
    private Long id;

    /** 医生名称 */
    @ApiModelProperty(value = "医生名称",required = false)
    @Excel(name = "医生名称")
    private Long userId;

    /** 一周中的排班时间 */
    @ApiModelProperty(value = "一周中的排班时间",required = false)
    @Excel(name = "一周中的排班时间")
    private String daysOfWeek;

    /** 状态 */
    @ApiModelProperty(value = "状态",required = false)
    private Integer status;

    /** 挂号限额 */
    @ApiModelProperty(value = "挂号限额",required = false)
    @Excel(name = "挂号限额")
    private Long skLimit;

    /** 排班规则id(FK) */
    @ApiModelProperty(value = "排班规则id(FK)",required = false)
    private Long skRuleId;

    /** 用户名 */
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDaysOfWeek(String daysOfWeek) 
    {
        this.daysOfWeek = daysOfWeek;
    }

    public String getDaysOfWeek() 
    {
        return daysOfWeek;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSkLimit(Long skLimit) 
    {
        this.skLimit = skLimit;
    }

    public Long getSkLimit() 
    {
        return skLimit;
    }
    public void setSkRuleId(Long skRuleId) 
    {
        this.skRuleId = skRuleId;
    }

    public Long getSkRuleId() 
    {
        return skRuleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("daysOfWeek", getDaysOfWeek())
            .append("status", getStatus())
            .append("skLimit", getSkLimit())
            .append("skRuleId", getSkRuleId())
            .toString();
    }
}
